/*
 * Copyright (c) 2015 www.smarthome.com All rights reserved. 本软件源代码版权归----所有,未经许可不得任意复制与传播.
 */
package com.smarthome.domain.bean;

import java.util.Date;

import com.smarthome.domain.bean.base.BaseDomain;

/**
 * shUserResource
 * @author KongXiangyu
 * @since 2015-09-07
 */
public class ShUserResource extends BaseDomain {

    private static final long serialVersionUID = 1L;
    private Long parentId;
    private String name;
    private String code;
    private String iconPath;
    private String address;
    private Integer sortWeight;
    private Integer openFlag;
    private Integer typeFlag;
    private String remark;
    private Date gmtCreate;
    private Date gmtModify;
    /** 附加属性 **/
    private ShUserResource parentResource;

    public ShUserResource() {
        // 默认无参构造方法
    }

    /**
     * 获取 parentId
     * @return
     */
    public Long getParentId() {
        return parentId;
    }

    /**
     * 设置 parentId
     * @param parentId
     */
    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    /**
     * 获取 name
     * @return
     */
    public String getName() {
        return name;
    }

    /**
     * 设置 name
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    /**
     * 获取 iconPath
     * @return
     */
    public String getIconPath() {
        return iconPath;
    }

    /**
     * 设置 iconPath
     * @param iconPath
     */
    public void setIconPath(String iconPath) {
        this.iconPath = iconPath;
    }

    /**
     * 获取 address
     * @return
     */
    public String getAddress() {
        return address;
    }

    /**
     * 设置 address
     * @param address
     */
    public void setAddress(String address) {
        this.address = address;
    }

    /**
     * 获取 sortWeight
     * @return
     */
    public Integer getSortWeight() {
        return sortWeight;
    }

    /**
     * 设置 sortWeight
     * @param sortWeight
     */
    public void setSortWeight(Integer sortWeight) {
        this.sortWeight = sortWeight;
    }

    /**
     * 获取 openFlag
     * @return
     */
    public Integer getOpenFlag() {
        return openFlag;
    }

    /**
     * 设置 openFlag
     * @param openFlag
     */
    public void setOpenFlag(Integer openFlag) {
        this.openFlag = openFlag;
    }

    /**
     * 获取 typeFlag
     * @return
     */
    public Integer getTypeFlag() {
        return typeFlag;
    }

    /**
     * 设置 typeFlag
     * @param typeFlag
     */
    public void setTypeFlag(Integer typeFlag) {
        this.typeFlag = typeFlag;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    /**
     * 获取 gmtCreate
     * @return
     */
    public Date getGmtCreate() {
        return gmtCreate;
    }

    /**
     * 设置 gmtCreate
     * @param gmtCreate
     */
    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    /**
     * 获取 gmtModify
     * @return
     */
    public Date getGmtModify() {
        return gmtModify;
    }

    /**
     * 设置 gmtModify
     * @param gmtModify
     */
    public void setGmtModify(Date gmtModify) {
        this.gmtModify = gmtModify;
    }

    public ShUserResource getParentResource() {
        return parentResource;
    }

    public void setParentResource(ShUserResource parentResource) {
        this.parentResource = parentResource;
    }

}